﻿using AjaxControlToolkit;
using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace NegevGas.Controls
{
   
      

        public class mpTaskPanel : MasterPage
        {
            protected ContentPlaceHolder ContentPlace;
            protected Panel errorMessage;
            protected Label errorText;
            protected HtmlForm form1;
            protected ContentPlaceHolder head;
            protected ContentPlaceHolder HeaderPlace;
            protected ToolkitScriptManager masterScriptManager;

            protected void Page_Load(object sender, EventArgs e)
            {
            }

            public void ShowErrorMessage(string message)
            {
                this.ErrorText = message;
                this.ErrorVisible = true;
            }

            public string ErrorText
            {
                get
                {
                    return this.errorText.Text;
                }
                set
                {
                    this.errorText.Text = value;
                }
            }

            public bool ErrorVisible
            {
                get
                {
                    return this.errorMessage.Visible;
                }
                set
                {
                    this.errorMessage.Visible = value;
                }
            }
        }
    }


